        <f:view>
            <h:form>
                <h:messages id="mal1" globalOnly="true" style="color: red"/>
                <rich:panel header="Email post">
                    <br><h:outputText value="(*) Campos requeridos" />
                    <br><rich:separator height="1" /><br>
                    <h:panelGrid columns="2">
                        <h:outputText value="De(Optional): " />
                        <h:panelGrid columns="2">
                            <h:inputText  id="from" maxlength="40" value="#{ForumsSession.from}"/>
                            <h:message for="from" style="color: red" styleClass="errorMessage" />
                        </h:panelGrid>
                        <h:outputText value="(*) A: " />
                        <h:panelGrid columns="2">
                            <h:inputText  id="email" maxlength="40" value="#{ForumsSession.email}" requiredMessage="Este campo es requerido." required="true"/>
                            <h:message for="email" style="color: red" styleClass="errorMessage" />
                        </h:panelGrid>
                        <h:outputText value="Asunto: " />
                        <h:panelGrid columns="2">
                            <h:inputText  id="subjectmail" maxlength="40" value="#{ForumsSession.currentMessage.subject}" requiredMessage="Este campo es requerido." required="true"/>
                            <h:message for="subjectmail" style="color: red" styleClass="errorMessage" />
                        </h:panelGrid>
                        <h:outputText value="Contenido: " /> 
                        <h:panelGrid columns="2">
                            <h:inputTextarea id="body" value="#{ForumsSession.currentMessage.content}" rows="10" cols="50"  requiredMessage="Este campo es requerido." required="true"  />
                            <h:message for="body" style="color: red" styleClass="errorMessage" />
                        </h:panelGrid>
                        </h:panelGrid>
                        <br>
                        <h:outputText value="http://www.eez2find.com/site-es/faces/linkReply?forum=#{ForumsSession.currentForum.id}&thread=#{ForumsSession.currentThread.id}&message=#{ForumsSession.currentMessage.id}" style="color:blue" />
                        <br>
                        <h:panelGrid columns="2">
                        <h:commandButton value="Enviar correo  " action="#{ForumsSession.sendEmail}">
                            <f:setPropertyActionListener target="#{ForumsSession.replyCreated}" value="#{false}" />
                        </h:commandButton>
                        <h:commandButton value="  Cancelar" immediate="true" action="emailSent">
                        </h:commandButton>
                    </h:panelGrid>
                </rich:panel>
            </h:form>
        </f:view>

